﻿@using ForzaGT3.Data
@model Series
<div class="yellowbg header shadow">
    UPCOMING RACE <span class="more"><a href="@Url.Action(MVC.Series.Index())">List</a> </span>
</div>
<div class="greystripbg">
    @if (Model != null)
    {
        <img src="@Url.Content("~" + Model.Circuit.Country.FlagUrl)" alt="@Model.Circuit.Country.Name" style="float: left" />
        <span style="font-size: 18px; clear: right;">@Model.Circuit.Country.Name</span><br />
        <div style="clear: both">
            @Model.Circuit.Name
        </div>
        <div style="font-size: 14px;">
            @Model.StartDate.ToString("dd") - @Model.FinishDate.ToString("dd MMMM yyyy")</div>
     }
</div>
<div class="blackbg" style="font-weight: bold; padding-bottom: 15px; height: 35px;">
    @if (Model != null)
    {
       
        <span>Qualifying Race </span><span style="float: right">@Model.QualifyingRaceDate.ToString("ddd, hh:mm")</span><br />
        <span>Championship Race</span> <span style="float: right">@Model.ChampionshipRaceDate.ToString("ddd, hh:mm")</span>
    }
</div>
